home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2007 June
/
PCWorld_2007-06_cd.bin
/
v cisle
/
rainmeter
/
Rainmeter-0.14-32bit.exe
/
Skins
/
Tranquil
/
Weather
/
Tokyo.ini
< prev
next >
Wrap
INI File
|
2006-01-20
|
9KB
|
365 lines
;
; Rainmeter configuration file
;
; Change the location like this:
; - Take a copy of this ini-file and rename it to match your location (e.g. Kabul.ini)
; - Go to http://www.rssweather.com and find your location (make sure that the page
; actually has some weather information).
; - Take a copy of the url and put it in the URL2-field in the [Variables]-section below.
; - Click the "Custom RSS 2.0 Feed"-link on the left side of the page.
; - Set the options how you like them.
; - The "Forecast Options" should be set to "Don't Show" since the skin doesn't show the forecast.
; - Set the "Present as" in Rss Options to "XHTML Body".
; - Click the RSS-button in the bottom right of the page and you should get a page with some
; text and the weather info. The page might look a bit messy, but don't worry about that.
; - Take a copy of the url and put it in the URL-field in the [Variables]-section below.
; - That's it. Refresh Rainmeter and select your newly created ini-file.
;
; Notes:
; - Do not decrease the update rate or your IP might get banned by the rssweather.com for
; requesting the page too often.
; - If you get the "Server Busy" message, wait a while and refresh the config (or wait
; until it reads the info again). You can read the weather info from rssweather about
; once per hour.
[Variables]
URL=http://www.rssweather.com/rss.php?hwvUT=C&hwvUP=mb&hwvUS=kmh&hwvUV=km&hwvCCChange=forecast&hwvSF=N&maxdays=2&daysonly=2&hwvStyle=body&place=tokyo%2Binternational%2Bairport&country=JP&icao=RJTT&alt=rss20a
URL2=http://www.rssweather.com/hw3.php?icao=RJTT
HideAll=[!RainmeterHideMeter MeterHumidity][!RainmeterHideMeter MeterWindSpeed][!RainmeterHideMeter MeterPressure][!RainmeterHideMeter MeterDewPoint][!RainmeterHideMeter MeterHeatIndex][!RainmeterHideMeter MeterWindChill][!RainmeterHideMeter MeterVisibility]
[Rainmeter]
Background=bg.png
Author=Rainy (rainy@iki.fi)
Update=1000
AppVersion=1001
;
; Measures
;
[MeasureWeather]
Measure=Plugin
Plugin=Plugins\WebParser.dll
UpdateRate=3600
Url=#URL#
RegExp="(?si)(rss version="(.*?)">(.*?)<title>Slow Down</title>)|(<title>(.*?) Weather</title>(.*?)fcicons/(.*?).gif(.*)<span class="temp">(.*?)</span>(.*?)humidity" style="display: inline;">(.*?)</dd>(.*?)windspeed" style="display: inline;">((.*?)</dd>(.*?)winddir" style="display: inline;">(.*?) \((.*?)°\)</dd>|Calm</dd>||VRB </dd>)(.*?)pressure" style="display: inline;">(.*?)</dd>(.*?)dewpoint" style="display: inline;">(.*?)</dd>(.*?)heatindex" style="display: inline;">(.*)</dd>(.*?)windchill" style="display: inline;">(.*?)</dd>(.*?)visibility" style="display: inline;">(.*?)</dd>)"
StringIndex=2
;Debug=1
IfAboveValue=0
IfAboveAction=!RainmeterShowMeter MeterBusy
IfBelowValue=2
IfBelowAction=!RainmeterHideMeter MeterBusy
[MeasureTitle]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeather]
StringIndex=5
[MeasureIcon]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeather]
StringIndex=7
[MeasureTemp]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeather]
StringIndex=9
Substitute="°":"░"
[MeasureHumidity]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeather]
StringIndex=11
[MeasureWindSpeed]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeather]
StringIndex=14
[MeasureWindDir]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeather]
StringIndex=17
MaxValue=359
[MeasurePressure]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeather]
StringIndex=19
[MeasureDewPoint]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeather]
StringIndex=21
Substitute="°":"░"
[MeasureHeatIndex]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeather]
StringIndex=23
Substitute="°":"░"
[MeasureWindChill]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeather]
StringIndex=25
Substitute="°":"░"
[MeasureVisibility]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeather]
StringIndex=27
;
; These measures cycle the information under the temperature. The idea here is
; that the Counter will increase by on one every update-cycle, so we'll just take
; a remainder of 70 from the value (there are 7 different items) so that we get
; values from 0 to 69. Then just hide all and show one of them every time the
; value grows larger than a certain number (the actions are executed only when
; the bypasses the value).
[MeasureCycle1]
Measure=Calc
Formula=Counter % 70
IfAboveValue=5
IfAboveAction=!execute #HideAll#[!RainmeterShowMeter MeterHumidity]
[MeasureCycle2]
Measure=Calc
Formula=Counter % 70
IfAboveValue=15
IfAboveAction=!execute #HideAll#[!RainmeterShowMeter MeterWindSpeed]
[MeasureCycle3]
Measure=Calc
Formula=Counter % 70
IfAboveValue=25
IfAboveAction=!execute #HideAll#[!RainmeterShowMeter MeterPressure]
[MeasureCycle4]
Measure=Calc
Formula=Counter % 70
IfAboveValue=35
IfAboveAction=!execute #HideAll#[!RainmeterShowMeter MeterDewPoint]
[MeasureCycle5]
Measure=Calc
Formula=Counter % 70
IfAboveValue=45
IfAboveAction=!execute #HideAll#[!RainmeterShowMeter MeterHeatIndex]
[MeasureCycle6]
Measure=Calc
Formula=Counter % 70
IfAboveValue=55
IfAboveAction=!execute #HideAll#[!RainmeterShowMeter MeterWindChill]
[MeasureCycle7]
Measure=Calc
Formula=Counter % 70
IfAboveValue=65
IfAboveAction=!execute #HideAll#[!RainmeterShowMeter MeterVisibility]
;
; Meters
;
[MeterBusy]
Meter=STRING
X=95
Y=30
FontColor=0, 0, 0
StringStyle=NORMAL
FontSize=12
StringAlign=CENTER
FontFace=Arial
Antialias=1
Hidden=1
Text="Server Busy"
[MeterTitle]
MeasureName=MeasureTitle
Meter=STRING
X=95
Y=65
H=10
W=150
FontColor=0, 0, 0
StringStyle=NORMAL
FontSize=8
StringAlign=CENTER
FontFace=Arial
Antialias=1
MouseOverAction=!execute [!RainmeterShowMeter MeterTitle2][!RainmeterHideMeter MeterTitle][!RainmeterRedraw]
[MeterTitle2]
MeasureName=MeasureTitle
Meter=STRING
X=95
Y=65
H=10
W=150
FontColor=255,255,255
StringStyle=NORMAL
FontSize=8
StringAlign=CENTER
FontFace=Arial
Antialias=1
Hidden=1
MouseLeaveAction=!execute [!RainmeterHideMeter MeterTitle2][!RainmeterShowMeter MeterTitle][!RainmeterRedraw]
LeftMouseDownAction=#URL2#
[MeterIcon]
MeasureName=MeasureIcon
Meter=IMAGE
X=15
Y=10
LeftMouseDownAction=!execute [!RainmeterHideMeter MeterIcon][!RainmeterShowMeter MeterWindDir1][!RainmeterShowMeter MeterWindDir2][!RainmeterRedraw]
[MeterWindDir1]
Meter=IMAGE
X=15
Y=10
ImageName=nesw.png
LeftMouseDownAction=!execute [!RainmeterHideMeter MeterWindDir1][!RainmeterHideMeter MeterWindDir2][!RainmeterShowMeter MeterIcon][!RainmeterRedraw]
Hidden=1
[MeterWindDir2]
MeasureName=MeasureWindDir
Meter=ROTATOR
X=15
Y=10
W=64
H=64
ImageName=arrow.png
StartAngle=4.7124
OffsetY=7
Hidden=1
[MeterTemp]
MeasureName=MeasureTemp
Meter=STRING
X=170
Y=15
FontColor=0, 0, 0
StringStyle=BOLD
FontSize=24
StringAlign=RIGHT
FontFace=Arial
Antialias=1
[MeterHumidity]
MeasureName=MeasureHumidity
Meter=STRING
X=170
Y=50
FontColor=0, 0, 0
StringStyle=NORMAL
FontSize=8
StringAlign=RIGHT
FontFace=Arial
Prefix="Humidity: "
Antialias=1
Hidden=0
[MeterWindSpeed]
MeasureName=MeasureWindSpeed
Meter=STRING
X=0r
Y=0r
FontColor=0, 0, 0
StringStyle=NORMAL
FontSize=8
StringAlign=RIGHT
FontFace=Arial
Prefix="Wind Speed: "
Antialias=1
Hidden=1
[MeterPressure]
MeasureName=MeasurePressure
Meter=STRING
X=0r
Y=0r
FontColor=0, 0, 0
StringStyle=NORMAL
FontSize=8
StringAlign=RIGHT
FontFace=Arial
Prefix="Pressure: "
Antialias=1
Hidden=1
[MeterDewPoint]
MeasureName=MeasureDewPoint
Meter=STRING
X=0r
Y=0r
FontColor=0, 0, 0
StringStyle=NORMAL
FontSize=8
StringAlign=RIGHT
FontFace=Arial
Prefix="Dew Point: "
Antialias=1
Hidden=1
[MeterHeatIndex]
MeasureName=MeasureHeatIndex
Meter=STRING
X=0r
Y=0r
FontColor=0, 0, 0
StringStyle=NORMAL
FontSize=8
StringAlign=RIGHT
FontFace=Arial
Prefix="Heat Index: "
Antialias=1
Hidden=1
[MeterWindChill]
MeasureName=MeasureWindChill
Meter=STRING
X=0r
Y=0r
FontColor=0, 0, 0
StringStyle=NORMAL
FontSize=8
StringAlign=RIGHT
FontFace=Arial
Prefix="Wind Chill: "
Antialias=1
Hidden=1
[MeterVisibility]
MeasureName=MeasureVisibility
Meter=STRING
X=0r
Y=0r
FontColor=0, 0, 0
StringStyle=NORMAL
FontSize=8
StringAlign=RIGHT
FontFace=Arial
Prefix="Visibility: "
Antialias=1
Hidden=1
[MeterShine]
Meter=IMAGE
X=0
Y=0
ImageName=shine.png